package org.afs.gescol.core.dao.interfaces;

import java.util.List;

import org.afs.gescol.core.model.references.Hourly;

/**
 * Dao interface for school Hourly management
 * @autor Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public interface HourlyDao {

    /**
     * Get Hourly model by its id.
     * @param id the id of the Hourly to get
     * @return the Hourly to get
     */
    Hourly getHourlyById(Long id);

    /**
     * Get a list of Hourly models by their label.
     * @param label the label of the Hourly to get
     * @return the list of Hourly models those label matches with the providing label
     */
    List<Hourly> getHourlysByLabel(String label);

}
